<template>
  <h3>Hello Varlet</h3>
  <var-button loading type="primary" class="mr10">
    加载状态
  </var-button>
  <var-button @click="goto" round>
    <var-icon name="chevron-left" />
  </var-button>

  <p><a href="https://varlet.gitee.io/varlet-ui/" target="_blank">-> Varlet</a></p>
</template>

<style>
.mr10{
    margin-right: 10px
}
</style>

<script>
export default {
  name: 'varlet',
  methods:{
    goto(){
      this.$router.push('/')
    }
  }
}
</script>